/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.xstgongyi.eduaid.dataobject.UserDO;

/**
 * @author oldcrane<br/>
 * @created 2019-04-29
 */
@Mapper
public interface UserMapper {

	int insert(UserDO user);

	int update(UserDO user);

	UserDO getById(Integer id);
	
	UserDO getByLoginName(String loginName);

	List<UserDO> listAll(Map<String, Object> condition);

}
